package cn.ljh.student.dao;
import cn.ljh.student.pojo.Root;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface RootMapper {

	public Root getRootById(@Param(value = "id") String id)throws Exception;

	public List<Root>	getRootListByMap(Map<String,Object> param)throws Exception;

	public Integer getRootCountByMap(Map<String,Object> param)throws Exception;

	public Integer insertRoot(Root root)throws Exception;

	public Integer updateRoot(Root root)throws Exception;

	public Integer deleteRootById(@Param(value = "id") String id)throws Exception;

	public Integer batchDeleteRoot(Map<String,List<String>> params);

}
